<template>
	<h1>HomeComp</h1>
	<p>{{ token }}</p>
	<el-button type="primary">添加</el-button>
</template>

<script>
import { mapState } from "vuex";
export default {
	name: "HomeComp",
	computed: {
		...mapState("user", ["token"]),
	},
};
</script>

<style></style>
